Windows Time Sync Command - Sync Windows Time from Command Line
نوشته شده توسط : jiajiasnow

From time to time, Windows might show the incorrect time. This is especially true when you're dual booting or some program is messing using the time settings. If that ever occurs, you can force sync Windows time having a single command. Let me demonstrate how.

Note: To use the Windows time sync command, you must have admin privileges. Without having admin privileges, make use of the second alternative method.

Windows Time Sync Command

This is may be the Windows time sync command you need to use to fix wrong time.

w32tm /resync

How to use the time sync command - simple steps

Open the beginning menu,
Search for "Command Prompt".
Right-click on the result and select "Run as administrator".
In the Command Prompt window, type w32tm /resync and press Enter.

.Once you press the Enter button, Windows will execute the time sync command. This can force Windows to exhibit perfect time.

Detailed Steps

First, open the start menu, search for "Command Prompt", right-click on the result and select "Run as Administrator" option. Doing this will open the Command Prompt with admin rights.

In the Command Prompt window, execute the w32tm /resync command.

As soon as you execute the command, Windows will resync time according to your present timezone. Time facts are updated from the default time.windows.com server (Windows Internet Time Server).

In case your Windows system in on a domain then use the w32tm /domain command.

Note: Sometimes you may see "The computer didn't resync because no time data was available" error. This really is fairly common. Especially in Windows 7 and Windows 8. Just execute the command many times also it should work eventually.

Use Custom Time Server

Like I said before, Windows uses time.windows.com because the default time server. In the event that time server isn't on your side or you desire to use another custom time server, it can be done too.

Open the command prompt as admin and execute the following command. Don't forget to replace time.server.url.com using the actual time server URL. You can use the NTP Pool Project to obtain the time server addresses of different countries and places.

w32tm /config /update /manualpeerlist:time.server.url.com

Once you execute the command, Windows will access that point server, gets the time and syncs it with your system.

That's it. This is actually the Windows time sync command.

Sync Time Using Settings App

As an alternative, you may also sync the time while using Settings app. In fact, compared to the command prompt or even the control panel, the brand new options in the Settings app are much easier to access and use.

First, press "Windows Key + I" to spread out the Settings app.

Go to the "Time & Language → Date & Time" page. On the right-panel, click the "Sync" button underneath the Synchronize your clock section.

As soon as you click on the button, Windows will sync the time. Windows uses the default time server to sync time. If you wish to sync time using a custom time server then use the above command to sync Windows time. As of penning this, the Settings app has no choices to change the default time server.





:: بازدید از این مطلب : 348
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
تاریخ انتشار : چهار شنبه 7 خرداد 1399 | نظرات ()
مطالب مرتبط با این پست
لیست
می توانید دیدگاه خود را بنویسید


نام
آدرس ایمیل
وب سایت/بلاگ
:) :( ;) :D
;)) :X :? :P
:* =(( :O };-
:B /:) =DD :S
-) :-(( :-| :-))
نظر خصوصی

 کد را وارد نمایید:

آپلود عکس دلخواه: